package main

import "fmt"

type Person51 struct {
	Name string
	Sex  byte
	Age  int
}

type Student51 struct {
	*Person51 // 结构体匿名字段
	Class     string
}

func main() {
	stu := Student51{
		Person51: &Person51{"xdc", 1, 1},
		Class:    "56da5",
	}

	fmt.Println(*stu.Person51)
}
